package com.automannn.atm_back.modules.oss.service;

import com.automannn.atm_back.modules.oss.entity.OSSFile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author chenkh
 * @time 2020/6/26 11:48
 */
public interface IOSSFileService extends IService<OSSFile> {
    void upload(MultipartFile multipartFile) throws IOException;

    boolean delete(OSSFile ossFile);

}
